package com.dhcc.sdc.cdss.service;

import com.alibaba.fastjson.JSONArray;
import com.baomidou.mybatisplus.plugins.Page;
import com.dhcc.core.framework.base.service.IBaseService;
import com.dhcc.sdc.busi.entity.SdcShowPremiseEntity;
import com.dhcc.sdc.cdss.entity.SdcCdssTreatEntity;

import java.util.List;
import java.util.Map;

/**
 * 表数据服务层接口
 * 
 * @ClassName: ISdcCdssTreatService
 * @Description: TODO
 * @author zhangdc
 * @date 2022-06-23 15:46:45
 */
public interface ISdcCdssTreatService  extends IBaseService<SdcCdssTreatEntity> {
	
    List<SdcCdssTreatEntity> page(Page<SdcCdssTreatEntity> page, Map<String, Object> map);
    List<SdcCdssTreatEntity> list(Map<String, Object> map);

    String handleJsonArrayData(JSONArray jsonArray, Long qcEntityId, List<String> cdssTreatNodeIds);

    List<Map<String, Object>> sdcItemList(Map<String, Object> map);

    List<String> selectNodeIds(Long entityId);

    void deleteByNodeIds(List<String> nodeIds);

    List<SdcShowPremiseEntity> selectByShowPremise(Map<String, Object> params);

}
